using UnityEngine;

public class CollectFuel : MonoBehaviour
{
    private void OnTriggerEnter2D(Collider2D other) {
        if(other.gameObject.CompareTag("Player")){
            FuelController.instance.FillFuel();
            Destroy(gameObject);
        }
    }
}
